package com.spring.service;

import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

@Service
//@Scope("prototype")
@Lazy(value = true)
public class UserService {
    public UserService(){
        System.out.println("UserSerivce被创建");
    }
}
